<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="referrer" content="always">
<meta name="referrer" content="no-referrer" />
<script>var maccms = { "path": "__ROOT__", "mid": "{$maccms['mid']}", "aid": "{$maccms['aid']}", "url": "{$maccms['site_url']}", "wapurl": "{$maccms['site_wapurl']}", "mob_status": "{$maccms['mob_status']}" };</script>
<link rel="icon" href="/template/mxone/mxstatic/picture/logo.png" type="image/png" />
<link href="/template/mxone/mxstatic/css/style.css" rel="stylesheet" type="text/css">
<link href="/template/mxone/mxstatic/css/aliicon.css" rel="stylesheet" type="text/css">
<link href="/template/mxone/mxstatic/css/index.css" rel="stylesheet" type="text/css">
<link disabled="" class="theme_black" type="text/css" rel="stylesheet"
    href="/template/mxone/mxstatic/css/mxhtmlblack.css">
<script src="/template/mxone/mxstatic/js/jquery.js"></script>
<script type="text/javascript" src="/template/mxone/mxstatic/js/jquery.lazyload.js"></script>
<script src="/template/mxone/mxstatic/js/jquery.autocomplete.js"></script>
<script src="/template/mxone/mxstatic/js/vue.min.js"></script>
<script src="/template/mxone/mxstatic/js/index.js"></script>
<script src="/template/mxone/mxstatic/js/jquery.cookie.js"></script>
<script src="/template/mxone/mxstatic/js/home.js"></script>
<script type="text/javascript" src="/template/mxone/mxstatic/js/jquery.clipboard.js"></script>
<script src="/template/mxone/mxstatic/js/layer.js"></script>
<script src="/template/mxone/mxstatic/js/js_push.js"></script>
<script type="text/javascript" src="/template/mxone/mxstatic/js/swiper.min.js"></script>
<script src="/template/mxone/mxstatic/js/script.js"></script>
<script>
    var clothes = $.cookie('clothes');
    if (clothes) {
        if (clothes == 'white') {
            $('.theme_black').removeAttr('disabled');
        } else {
            $('.theme_black').attr('disabled', '');
        }
    } else {
        $.cookie('clothes', 'black', { expires: 365, path: '/' })
    }
</script>
<script>

    function clothesChange () {
        var clothes = $.cookie('clothes');
        if (clothes == 'black') {
            $.cookie('clothes', 'white', { expires: 365, path: '/' });
            $('.theme_black').each(function () {
                $(this).removeAttr('disabled');
            });

        } else {
            $.cookie('clothes', 'black', { expires: 365, path: '/' });
            $('.theme_black').each(function () {
                $(this).attr('disabled', '');
            });
        }
        clothes = $.cookie('clothes');
    }
    function history_list(){
        var vodes = $.cookie('mac_history_dianying');
        for (let index = 0; index < vodes.length; index++) {
            const video = vodes[index];
            console.log(video)
            var li = `<li class="list-item"><a href="${video['vod_url']}" title="${video['vod_name']}" class="list-item-link"><i class="icon-play"></i><span>${video['vod_part']}</span>${video['vod_name']}</a></li>`
            $('#history').append(li)
        }
        
    }
    history_list()
</script>